const Service = require('egg').Service

class HouseOverviewService extends Service {
    async getHouseOverviewById(id) {
        return await this.ctx.model.House.HouseOverview.findOne({
            where: {
                id,
            },
        })
    }
}

module.exports = HouseOverviewService
